<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="js/layui/css/layui.css" />
</head>
<body style="padding-left: 20%;padding-right: 20%">
<div class="layui-form" style="padding: 10px;border: 1px solid gray;margin-top: 10px">
    <div class="layui-form-item">
        <label class="layui-form-label">景点名称</label>
        <div class="layui-input-block">
            <input type="text"id="name" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">景点简介</label>
        <div class="layui-input-block">
            <input type="text" id="desc" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">景点地址</label>
        <div class="layui-input-block">
            <input type="text" id="address"class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">开放日期</label>
            <div class="layui-input-inline">
                <input type="tel" id="opendate" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">开放时间</label>
            <div class="layui-input-inline">
                <input type="text" id="opentime"class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">所属城市</label>
            <div class="layui-input-inline">
                <select type="tel" id="city" class="layui-input" lay-verify="" lay-search></select>
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">景点星级</label>
            <div class="layui-input-inline">
                <select type="tel" id="star" class="layui-input">
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>

                </select>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">经度</label>
            <div class="layui-input-inline">
                <input type="tel"id="longitude" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">纬度</label>
            <div class="layui-input-inline">
                <input type="text" id="latitude" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item" >
        <label class="layui-form-label">详细介绍</label>
        <div class="layui-input-block">
            <textarea type="text" id="content" class="layui-input" style="min-height: 100px"></textarea>
        </div>
    </div>
    <div class="layui-upload" style="padding-left: 30px">
        <button type="button" class="layui-btn layui-btn-normal" id="testList">选择景点相册</button>
        <button type="button" class="layui-btn layui-btn-primary" id="testListAction"style="margin-left: 300px">选择好开始上传</button>
        <div class="layui-upload-list">
            <table class="layui-table">
                <thead>
                <tr><th>文件名</th>
                    <th>大小</th>
                    <th>状态</th>
                    <th>操作</th>
                </tr></thead>
                <tbody id="demoList"></tbody>
            </table>
        </div>
    </div>
    <button class="layui-btn " style="margin-top: 30px;margin-left: 40%" onclick="submitInfo()">确定提交</button>
</div>
<script src="js/jquery-1.8.1.min.js"></script>
<script src="js/layui/layui.all.js"></script>
<script src="js/addTourist.js"></script>
</body>
</html>